package com.starlink.model.request.mall;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Auther: zhouyuhang01
 * @Date: 2024/4/12 15:18
 * @Description: WechatPay
 * @Version 1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MallOrderRefundRequest implements Serializable {
    private Long userId;

    private Long orderId;
    /**
     * 微信订单号
     */
    private String weChatOrderId;
    /**
     * 支付方式
     */
    private String payType;
    /**
     * 支付金额
     */
    private String amount;
    /**
     * 订单类型
     */
    private Integer orderType;
    /**
     * 购物车结算类型 1部分结算 2全结算
     */
    private Integer settleAccountType;
    /**
     * 购物车结算物品ID
     */
    private List<Long> carOrderIds;
    /**
     * 支付时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date paymentDate;
}
